<%-- 
    Document   : instituicaoForm
    Created on : 13/08/2011, 15:29:07
    Author     : Graciano
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../../WEB-INF/imports.jspf" %>
<div align="center">
    <p>Instituição</p>
    <mtw:form action="${formAction}" method="post">
        <mtw:input type="hidden" name="id" id="id"/>
        <table>
            <tr>
                <td>Nome</td>
                <td><mtw:input type="text" id="nome" name="nome" size="50"/></td>
            </tr>
            <tr>
                <td>Endereço</td>
                <td><mtw:input type="text" id="endereco" name="endereco"  size="50"/></td>
            </tr>
            <tr>
                <td>Número</td>
                <td><mtw:input type="text" id="numero" name="numero"  size="50"/></td>
            </tr>
            <tr>
                <td>Bairro</td>
                <td><mtw:input type="text" id="bairro" name="bairro"  size="50"/></td>
            </tr>
            <tr>
                <td>Cidade</td>
                <td><mtw:select name="cidadeId" list="cidadeOptions" emptyField="true" emptyFieldValue="Selecione..." defEmptyFieldValue="0"/></td>
            </tr>
            <tr>
                <td>Telefone 1</td>
                <td><mtw:inputMask id="telefone1" name="telefone1"  size="50" maskCustom="(99)9999-9999"/></td>
            </tr>
            <tr>
                <td>Telefone 2</td>
                <td><mtw:inputMask id="telefone2" name="telefone2"  size="50" maskCustom="(99)9999-9999"/></td>
            </tr>
            <tr>
                <td>Email</td>
                <td><mtw:input type="text" id="email" name="email"  size="50"/></td>
            </tr>

    <!--        <tr>
                <td>Logo</td>
                <td><input type="file" id="logo" name="logo"/> </td>
            </tr>-->

            <tr>
                <td><mtw:submit value="Confirmar"/></td>
                <td><input type="button" value="Cancelar" onclick="location. href='InstituicaoRead.mtw'"/></td>
            </tr>
        </table>

    </mtw:form>
</div>
